﻿using AgencyManagerSystem.Common;
using Dapper.Contrib.Extensions;
using System;

namespace AgencyManagerSystem.Model
{
    [Table("V_UDF_STOCK")]
    public class StockModel : ERPModel
    {
        public int Warehouse { get; set; }
        public string WarehouseName { get; set; }

        public decimal Qty { get; set; }
        public decimal AvaQty { get; set; }
        public int Production { get; set; }
        public string CustCode { get; set; }
        public string OldNumber { get; set; }
        public string MaterialCode { get; set; }
        public string MaterialName { get; set; }
        public string Spec { get; set; }

    }
    public class StockGroupModel:ERPModel
    {
        public decimal Qty { get; set; }
        public decimal AvaQty { get; set; }
        public int Production { get; set; }
        public string CustCode { get; set; }
    }
}
